'****************************************************************************'
'                                                                            '
' Copyright (C) 2010 Muhammad alaa                                           '
'                                                                            '
' This program is free software; you can redistribute it and/or modify       '
' it under the terms of the GNU General Public License as published by       '
' the Free Software Foundation; either version 2 of the License, or          '
' (at your option) any later version.                                        '
'                                                                            '
' This program is distributed in the hope that it will be useful,            '
' but WITHOUT ANY WARRANTY; without even the implied warranty of             '
' MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the              '
' GNU General Public License for more details.                               '
'                                                                            '
' You should have received a copy of the GNU General Public License along    '
' with this program; if not, write to the Free Software Foundation, Inc.,    '
' 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA.                '
'                                                                            '
'****************************************************************************'

Public Delegate Function ContextCallDelegate(ByRef pParam As ComCallData) As <MarshalAs(UnmanagedType.Error)> Integer

Public Delegate Function OleUIHookDelegate(ByVal hWnd As IntPtr, ByVal Msg As UInteger, ByVal wParam As IntPtr, ByVal lParam As IntPtr) As UInteger

Public Delegate Function OpenFileDialogHookDelegate(ByVal hWnd As IntPtr, ByVal Msg As UInteger, ByVal wParam As IntPtr, ByVal lParam As IntPtr) As UInteger

Public Delegate Function PropertySheetCallbackDelegate(ByVal hWnd As IntPtr, ByVal Msg As UInteger, ByVal wParam As IntPtr) As Integer

Public Delegate Function IViewObjectDrawCallbackDelegate(ByVal dwContinue As IntPtr) As <MarshalAs(UnmanagedType.Bool)> Boolean

Public Delegate Function ExceptionInFoDeferredFillInDelegate(ByRef ei As ExcepInfo) As <MarshalAs(UnmanagedType.Error)> Integer

Public Delegate Function ShutdownCallBackDelegate(ByVal pv As IntPtr) As <MarshalAs(UnmanagedType.Error)> Integer

Public Delegate Sub EnumReadyCallback(ByVal pvdata As IntPtr)